build optimized containers